package com.itcat.service;

import com.itcat.mysql.pojo.UmsAdmin;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Cr Mr]
 * @version : [v1.0]
 * @date : [2022/4/2 21:59]
 */
@Service
public interface TimeLineService {
    @Async
    void saveLoginTime(Long id);

    @Async
    void insertLoginLog(UmsAdmin admin, String remoteAddr);
}
